	<?php $image = $choice[0]->Species . "_" . $choice[0]->Name . ".jpg"; $alt = $choice[0]->Name . " the " . $choice[0]->Species; ?>

	<div id="content">

		<h1><?php echo $choice[0]->Name; ?> the <?php echo $choice[0]->Species; ?></h1>

		<table width="70%">

			<tr>
				<td rowspan="5" width="50%" style="text-align: center;"><img src="../system/application/images/<?php echo $image; ?>" alt="<?php echo $alt; ?>" width="200px" height="200px" /></td>
				<td style="text-align: right; padding-right: 15px; font-weight: bold;">Name: </td>
				<td><?php echo $choice[0]->Name; ?> (<?php echo $choice[0]->Gender; ?>)</td>
			</tr>
			<tr><td style="text-align: right; padding-right: 15px; font-weight: bold;">Breed: </td><td><?php echo $choice[0]->Breed; ?></td></tr>      
			<tr><td style="text-align: right; padding-right: 15px; font-weight: bold;">Age: </td><td><?php echo $choice[0]->Age; ?></td></tr>      
			<tr><td style="text-align: right; padding-right: 15px; font-weight: bold;">Weight: </td><td><?php echo $choice[0]->Weight; ?></td></tr>      
			<tr><td style="text-align: right; padding-right: 15px; font-weight: bold;">Spayed/Neutered: </td><td><?php if ($choice[0]->SpayedNeutered == 0) {echo "No";} else if ($choice[0]->SpayedNeutered == 1) {echo "Yes";} ?></td></tr>

		</table>

		<p><?php echo $choice[0]->Description; ?></p>
        
		<br /><hr /><br />

		<h4>If this pet isn't your absolute favorite, that's all right - we've got lots more!</h4>

		<form name="select_pet" action="pets" method="post">
        
			<input type="hidden" name="select_pet" value="1" />

			<select name="pets">

				<option value=""></option>

				<?php foreach($results as $result): ?>
				<option value="<?php echo $result->Name; ?>"><?php echo $result->Name; ?> (<?php echo $result->Species; ?> - <?php echo $result->Breed; ?>)</option>
				<?php endforeach; ?>

			</select>
        
			<button type="submit" name="select_pet">See this pet! &#8250;&#8250;</button>

		</form>
        
	</div>

</body>

</html>